import json


def bulid_data(file_path):
# 读取数据文件，转换成参数化格式的数据
    with open(file_path,"r",encoding="utf-8")as d:
        data=json.load(d)
        newlist=[]
        print(data)
    for item in data:
        print(item.values())
        newlist.append(tuple(item.values()))
    return newlist

if __name__ == '__main__':
    result=bulid_data("../data/login.json")
    print(result)